#!/bin/sh

ffnginx()
{
	nginx_module="OPTIONS_DEFAULT=	HTTP HTTP_CACHE  HTTP_GZIP_STATIC HTTP_REWRITE CACHE_PURGE"
	cd /usr/ports/www/nginx
	ffstr 'OPTIONS_DEFAULT=  IPV6 HTTP HTTP_CACHE HTTP_REWRITE HTTP_STATUS WWWOPTIONS_DEFAULT=  IPV6 HTTP HTTP_CACHE HTTP_REWRITE HTTP_STATUS WWW' $nginx_module /usr/ports/www/nginx/Makefile
	make BATCH=yes install clean
	ffrc 'nginx_enable="YES"'
	cd
}

ffsoft()
{
	ffnginx	
}

